<div class="employees view">
<h2><?php  __('Employee');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Firstname'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['firstname']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Lastname'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['lastname']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Primaryemail'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['primaryemail']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Password'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['password']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Secondaryemail'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['secondaryemail']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Address'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['address']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('City'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($employee['City']['name'], array('controller' => 'cities', 'action' => 'view', $employee['City']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Employeetype'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($employee['Employeetype']['name'], array('controller' => 'employeetypes', 'action' => 'view', $employee['Employeetype']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Pincode'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['pincode']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Residencephone'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['residencephone']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Officephone1'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['officephone1']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Officephone2'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['officephone2']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Mobilephone'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['mobilephone']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Department'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($employee['Department']['name'], array('controller' => 'departments', 'action' => 'view', $employee['Department']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Location'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($employee['Location']['name'], array('controller' => 'locations', 'action' => 'view', $employee['Location']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Incomingemailaddress'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['incomingemailaddress']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Status'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['status']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['created']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['modified']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="related">
	<h3><?php __('Related Activities');?></h3>
	<?php if (!empty($employee['Activity'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Potential Id'); ?></th>
		<th><?php __('Activitytype Id'); ?></th>
		<th><?php __('Subject'); ?></th>
		<th><?php __('Description'); ?></th>
		<th><?php __('Duedate'); ?></th>
		<th><?php __('Nextfollowupdate'); ?></th>
		<th><?php __('Employee Id'); ?></th>
		<th><?php __('Assignedtoemployee Id'); ?></th>
		<th><?php __('Donedate'); ?></th>
		<th><?php __('Finalstatus'); ?></th>
		<th><?php __('Status'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($employee['Activity'] as $activity):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $activity['id'];?></td>
			<td><?php echo $activity['potential_id'];?></td>
			<td><?php echo $activity['activitytype_id'];?></td>
			<td><?php echo $activity['subject'];?></td>
			<td><?php echo $activity['description'];?></td>
			<td><?php echo $activity['duedate'];?></td>
			<td><?php echo $activity['nextfollowupdate'];?></td>
			<td><?php echo $activity['employee_id'];?></td>
			<td><?php echo $activity['assignedtoemployee_id'];?></td>
			<td><?php echo $activity['donedate'];?></td>
			<td><?php echo $activity['finalstatus'];?></td>
			<td><?php echo $activity['status'];?></td>
			<td><?php echo $activity['created'];?></td>
			<td><?php echo $activity['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'activities', 'action' => 'view', $activity['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'activities', 'action' => 'edit', $activity['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'activities', 'action' => 'delete', $activity['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $activity['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>
</div>
<div class="related">
	<h3><?php __('Related Activities');?></h3>
	<?php if (!empty($employee['Activityassignedto'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Potential Id'); ?></th>
		<th><?php __('Activitytype Id'); ?></th>
		<th><?php __('Subject'); ?></th>
		<th><?php __('Description'); ?></th>
		<th><?php __('Duedate'); ?></th>
		<th><?php __('Nextfollowupdate'); ?></th>
		<th><?php __('Employee Id'); ?></th>
		<th><?php __('Assignedtoemployee Id'); ?></th>
		<th><?php __('Donedate'); ?></th>
		<th><?php __('Finalstatus'); ?></th>
		<th><?php __('Status'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($employee['Activityassignedto'] as $activityassignedto):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $activityassignedto['id'];?></td>
			<td><?php echo $activityassignedto['potential_id'];?></td>
			<td><?php echo $activityassignedto['activitytype_id'];?></td>
			<td><?php echo $activityassignedto['subject'];?></td>
			<td><?php echo $activityassignedto['description'];?></td>
			<td><?php echo $activityassignedto['duedate'];?></td>
			<td><?php echo $activityassignedto['nextfollowupdate'];?></td>
			<td><?php echo $activityassignedto['employee_id'];?></td>
			<td><?php echo $activityassignedto['assignedtoemployee_id'];?></td>
			<td><?php echo $activityassignedto['donedate'];?></td>
			<td><?php echo $activityassignedto['finalstatus'];?></td>
			<td><?php echo $activityassignedto['status'];?></td>
			<td><?php echo $activityassignedto['created'];?></td>
			<td><?php echo $activityassignedto['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'activities', 'action' => 'view', $activityassignedto['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'activities', 'action' => 'edit', $activityassignedto['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'activities', 'action' => 'delete', $activityassignedto['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $activityassignedto['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>
</div>
<div class="related">
	<h3><?php __('Related Documents');?></h3>
	<?php if (!empty($employee['Document'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Name'); ?></th>
		<th><?php __('Description'); ?></th>
		<th><?php __('Path'); ?></th>
		<th><?php __('Product Id'); ?></th>
		<th><?php __('Validfrom'); ?></th>
		<th><?php __('Validto'); ?></th>
		<th><?php __('Employee Id'); ?></th>
		<th><?php __('Status'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($employee['Document'] as $document):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $document['id'];?></td>
			<td><?php echo $document['name'];?></td>
			<td><?php echo $document['description'];?></td>
			<td><?php echo $document['path'];?></td>
			<td><?php echo $document['product_id'];?></td>
			<td><?php echo $document['validfrom'];?></td>
			<td><?php echo $document['validto'];?></td>
			<td><?php echo $document['employee_id'];?></td>
			<td><?php echo $document['status'];?></td>
			<td><?php echo $document['created'];?></td>
			<td><?php echo $document['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'documents', 'action' => 'view', $document['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'documents', 'action' => 'edit', $document['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'documents', 'action' => 'delete', $document['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $document['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>
</div>
<div class="related">
	<h3><?php __('Related Potentials');?></h3>
	<?php if (!empty($employee['Potential'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Product Id'); ?></th>
		<th><?php __('Type'); ?></th>
		<th><?php __('Dateenquired'); ?></th>
		<th><?php __('Description'); ?></th>
		<th><?php __('Leadstage Id'); ?></th>
		<th><?php __('Dealstage Id'); ?></th>
		<th><?php __('Employee Id'); ?></th>
		<th><?php __('Assignedtoemployee Id'); ?></th>
		<th><?php __('Location Id'); ?></th>
		<th><?php __('Status'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($employee['Potential'] as $potential):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $potential['id'];?></td>
			<td><?php echo $potential['user_id'];?></td>
			<td><?php echo $potential['product_id'];?></td>
			<td><?php echo $potential['type'];?></td>
			<td><?php echo $potential['dateenquired'];?></td>
			<td><?php echo $potential['description'];?></td>
			<td><?php echo $potential['leadstage_id'];?></td>
			<td><?php echo $potential['dealstage_id'];?></td>
			<td><?php echo $potential['employee_id'];?></td>
			<td><?php echo $potential['assignedtoemployee_id'];?></td>
			<td><?php echo $potential['location_id'];?></td>
			<td><?php echo $potential['status'];?></td>
			<td><?php echo $potential['created'];?></td>
			<td><?php echo $potential['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'potentials', 'action' => 'view', $potential['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'potentials', 'action' => 'edit', $potential['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'potentials', 'action' => 'delete', $potential['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $potential['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>
</div>
<div class="related">
	<h3><?php __('Related Potentials');?></h3>
	<?php if (!empty($employee['Potentialassignedto'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Product Id'); ?></th>
		<th><?php __('Type'); ?></th>
		<th><?php __('Dateenquired'); ?></th>
		<th><?php __('Description'); ?></th>
		<th><?php __('Leadstage Id'); ?></th>
		<th><?php __('Dealstage Id'); ?></th>
		<th><?php __('Employee Id'); ?></th>
		<th><?php __('Assignedtoemployee Id'); ?></th>
		<th><?php __('Location Id'); ?></th>
		<th><?php __('Status'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($employee['Potentialassignedto'] as $potentialassignedto):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $potentialassignedto['id'];?></td>
			<td><?php echo $potentialassignedto['user_id'];?></td>
			<td><?php echo $potentialassignedto['product_id'];?></td>
			<td><?php echo $potentialassignedto['type'];?></td>
			<td><?php echo $potentialassignedto['dateenquired'];?></td>
			<td><?php echo $potentialassignedto['description'];?></td>
			<td><?php echo $potentialassignedto['leadstage_id'];?></td>
			<td><?php echo $potentialassignedto['dealstage_id'];?></td>
			<td><?php echo $potentialassignedto['employee_id'];?></td>
			<td><?php echo $potentialassignedto['assignedtoemployee_id'];?></td>
			<td><?php echo $potentialassignedto['location_id'];?></td>
			<td><?php echo $potentialassignedto['status'];?></td>
			<td><?php echo $potentialassignedto['created'];?></td>
			<td><?php echo $potentialassignedto['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'potentials', 'action' => 'view', $potentialassignedto['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'potentials', 'action' => 'edit', $potentialassignedto['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'potentials', 'action' => 'delete', $potentialassignedto['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $potentialassignedto['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>
</div>
<div class="related">
	<h3><?php __('Related Tasks');?></h3>
	<?php if (!empty($employee['Task'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Potential Id'); ?></th>
		<th><?php __('Name'); ?></th>
		<th><?php __('Description'); ?></th>
		<th><?php __('Tasktemplate Id'); ?></th>
		<th><?php __('Duedate'); ?></th>
		<th><?php __('Nextfollowupdate'); ?></th>
		<th><?php __('Employee Id'); ?></th>
		<th><?php __('Assignedtoemployee Id'); ?></th>
		<th><?php __('Priority'); ?></th>
		<th><?php __('Status'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($employee['Task'] as $task):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $task['id'];?></td>
			<td><?php echo $task['potential_id'];?></td>
			<td><?php echo $task['name'];?></td>
			<td><?php echo $task['description'];?></td>
			<td><?php echo $task['tasktemplate_id'];?></td>
			<td><?php echo $task['duedate'];?></td>
			<td><?php echo $task['nextfollowupdate'];?></td>
			<td><?php echo $task['employee_id'];?></td>
			<td><?php echo $task['assignedtoemployee_id'];?></td>
			<td><?php echo $task['priority'];?></td>
			<td><?php echo $task['status'];?></td>
			<td><?php echo $task['created'];?></td>
			<td><?php echo $task['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'tasks', 'action' => 'view', $task['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'tasks', 'action' => 'edit', $task['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'tasks', 'action' => 'delete', $task['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $task['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>
</div>
<div class="related">
	<h3><?php __('Related Tasks');?></h3>
	<?php if (!empty($employee['Taskassignedto'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Potential Id'); ?></th>
		<th><?php __('Name'); ?></th>
		<th><?php __('Description'); ?></th>
		<th><?php __('Tasktemplate Id'); ?></th>
		<th><?php __('Duedate'); ?></th>
		<th><?php __('Nextfollowupdate'); ?></th>
		<th><?php __('Employee Id'); ?></th>
		<th><?php __('Assignedtoemployee Id'); ?></th>
		<th><?php __('Priority'); ?></th>
		<th><?php __('Status'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($employee['Taskassignedto'] as $taskassignedto):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $taskassignedto['id'];?></td>
			<td><?php echo $taskassignedto['potential_id'];?></td>
			<td><?php echo $taskassignedto['name'];?></td>
			<td><?php echo $taskassignedto['description'];?></td>
			<td><?php echo $taskassignedto['tasktemplate_id'];?></td>
			<td><?php echo $taskassignedto['duedate'];?></td>
			<td><?php echo $taskassignedto['nextfollowupdate'];?></td>
			<td><?php echo $taskassignedto['employee_id'];?></td>
			<td><?php echo $taskassignedto['assignedtoemployee_id'];?></td>
			<td><?php echo $taskassignedto['priority'];?></td>
			<td><?php echo $taskassignedto['status'];?></td>
			<td><?php echo $taskassignedto['created'];?></td>
			<td><?php echo $taskassignedto['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'tasks', 'action' => 'view', $taskassignedto['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'tasks', 'action' => 'edit', $taskassignedto['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'tasks', 'action' => 'delete', $taskassignedto['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $taskassignedto['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>
</div>
<div class="related">
	<h3><?php __('Related Users');?></h3>
	<?php if (!empty($employee['User'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Firstname'); ?></th>
		<th><?php __('Lastname'); ?></th>
		<th><?php __('Address'); ?></th>
		<th><?php __('City Id'); ?></th>
		<th><?php __('Pincode'); ?></th>
		<th><?php __('Residencephone'); ?></th>
		<th><?php __('Officephone1'); ?></th>
		<th><?php __('Officephone2'); ?></th>
		<th><?php __('Mobilephone'); ?></th>
		<th><?php __('Email1'); ?></th>
		<th><?php __('Email2'); ?></th>
		<th><?php __('Profession'); ?></th>
		<th><?php __('Leadsource Id'); ?></th>
		<th><?php __('Location Id'); ?></th>
		<th><?php __('Awarenesssource Id'); ?></th>
		<th><?php __('Preferredcommunication'); ?></th>
		<th><?php __('Sendmaterial'); ?></th>
		<th><?php __('Employee Id'); ?></th>
		<th><?php __('Status'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($employee['User'] as $user):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $user['id'];?></td>
			<td><?php echo $user['firstname'];?></td>
			<td><?php echo $user['lastname'];?></td>
			<td><?php echo $user['address'];?></td>
			<td><?php echo $user['city_id'];?></td>
			<td><?php echo $user['pincode'];?></td>
			<td><?php echo $user['residencephone'];?></td>
			<td><?php echo $user['officephone1'];?></td>
			<td><?php echo $user['officephone2'];?></td>
			<td><?php echo $user['mobilephone'];?></td>
			<td><?php echo $user['email1'];?></td>
			<td><?php echo $user['email2'];?></td>
			<td><?php echo $user['profession'];?></td>
			<td><?php echo $user['leadsource_id'];?></td>
			<td><?php echo $user['location_id'];?></td>
			<td><?php echo $user['awarenesssource_id'];?></td>
			<td><?php echo $user['preferredcommunication'];?></td>
			<td><?php echo $user['sendmaterial'];?></td>
			<td><?php echo $user['employee_id'];?></td>
			<td><?php echo $user['status'];?></td>
			<td><?php echo $user['created'];?></td>
			<td><?php echo $user['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'users', 'action' => 'view', $user['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'users', 'action' => 'edit', $user['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'users', 'action' => 'delete', $user['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $user['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>
</div>
